package main

import (
	"fmt"
	"unsafe"
)

func main() {
	var m map[int]string
	fmt.Println("map: ", unsafe.Sizeof(m))
	var p *int
	fmt.Println("pointer: ", unsafe.Sizeof(p))
	var c chan int
	fmt.Println("chan: ", unsafe.Sizeof(c))
	var s []int
	fmt.Println("slice: ", unsafe.Sizeof(s))
	var f func()
	fmt.Println("func: ", unsafe.Sizeof(f))
	var i interface{}
	fmt.Println("interface: ", unsafe.Sizeof(i))
}
